package com.carrie.service;


import com.carrie.model.Bag;
import com.carrie.model.Goods;
import com.carrie.tools.Result;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author XuHaiLong
 * @since 2025/3/20
 * 接口 定义了返回结果数据通过Result封装
 */
@Service
public interface BagWithGoodsService {
    List<Bag> getAllBageWithGoods();

    Result insertBag(int bagId, String bagIcon, String bgaName);

    Result insertGoodsIntoBag(int bagId, MultipartFile file, Goods goods);
}